﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace NGUYENTHANHDONG.OOP.Inhertance___Polimophism.EXCERCISES.EXCERCISE_01
{
    class ClassUser
    {

        public float Cong(float Soa, float Sob)
        {
            return Soa + Sob;
        }

        public int Cong(int Soa, int Sob)
        {
            return Soa + Sob;
        }
        public float Tru(float Soa, float Sob)
        {
            return Soa - Sob;
        }
        public int Tru(int Soa, int Sob)
        {
            return Soa - Sob;
        }
        public float Nhan(float Soa, float Sob)
        {
            return Soa * Sob;
        }
        public int Nhan(int Soa, int Sob)
        {
            return Soa * Sob;
        }
        public float Chia(float Soa, float Sob)
        {
            return Soa / Sob;
        }
        public int Chia(int Soa, int Sob)
        {
            return Soa / Sob;
        }

    }
}
